<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>注册页面</title>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/reg.css"/>
		<script src="./Public/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
//			$(function(){
//				$('input[name=uname]').blur(function(){
//					//alert(1)
//					//获取表单的内容（用户名）
//					var uname = $(this).val();
//					//发异步
//					$.ajax({
//						//请求方式
//						type:"post",
//						//请求地址
//						url:"{{U('check')}}",
//						//发送数据
//						data:{u:uname},
//						dataType:'json',
//						//得到服务器响应
//						success:function(phpData){
//							if (phpData ==1) {
//								$('#msg').html('<span style="color:red">用户名已存在</span>');
//							} else{
//								$('#msg').html('<span style="color:green">可以注册</span');
//							}
//							if(phpData == 2){
//								$('#msg').html('<span style="color:red">请输入用户名</span>');
//							}
//						}
//					});
//				})
//			})
		</script>
	</head>
	<body>
		<div id="w_bg_box">
			<div class="loginContent">
				<a href="{{U('index/index')}}"><img style="display:block;margin: 0 auto;" src="./Public/Home/images/logo.png" alt="" /></a>
				<form class="ygqq_form" action="{{U('reg/reg')}}" method="post">
					<div class="ygqq_login_dx_input ygqq_register_dx_input ygqq_ts">
						<input style="color: #ababab; border: 1px solid rgb(232, 105, 105);" class="input" id="mobile" name="uname" maxlength="11" placeholder="请输入用户名" type="text"><span id="msg"></span>
       					<i style="" class="ygqq_i"></i>
  					</div>
					<div class="ygqq_login_dx_input ygqq_register_dx_input ygqq_ts">
		          	  	<input style="display: inline;" class="input" name="upassword" id="pas" placeholder="8-20位字符，至少包含字母+数字" type="password">
		          	  	
		              <!--	<input class="input" name="password" maxlength="20" id="password" style="color: rgb(51, 51, 51); display: none; border: 1px solid rgb(232, 105, 105);" type="password">-->
		              	<i class="ygqq_i"></i>
		          	</div>
		          	<div class="ygqq_login_dx_input ygqq_register_dx_input ygqq_ts">
		          	  	<input style="display: inline;" class="input" name="confirmPassword" id="pas" placeholder="再次输入密码" type="password">
		              <!--	<input class="input" name="password" maxlength="20" id="password" style="color: rgb(51, 51, 51); display: none; border: 1px solid rgb(232, 105, 105);" type="password">-->
		              	<i class="ygqq_i"></i>
		          	</div>
		          	
					<!--<div class="ygqq_login_dx_input ygqq_register_dx_input ygqq_ts">
			            <input id="smsCode" placeholder="请输入验证码" class="ygqq_login_dx_ym" type="text">
			            <i class="ygqq_i1"></i>
		              	<a href="javascript:void(0);" class="ygqq_login_dx_a ygqq_register_dx_a">点击获取验证码</a>
		          	</div>-->
					<div class="ygqq_login_text ygqq_register_text1">
			              <a>邀请人手机号(<b>选填</b>)</a>
		          	</div>
		          	<div class="ygqq_register_xy">
		              	<input class="ygqq_button" value="同意协议并注册" type="submit">
		              	<div style="display: none;" class="b_login_btn_xy">
		                 	<p>点击注册即同意云购全球</p>
		                 	<a style="color:#dd2726;cursor:pointer;">用户协议</a>
		                 	<div class="b_contract-arrow"></div>
		              	</div>
		          	</div>
					<p class="zhanghao">已有账号？<a href="{{U('Login/index')}}">登录</a></p>
					<div class="ygqq_login_other" style="margin-top: 15px"> 
			             <span>
			             	<b class="ygqq_b"></b>
			             	<h3>第三方登录</h3>
			             	<b class="ygqq_b"></b>
			             </span>
			             <ul class="yygqq_login_other_ul">
			               <li class="ygqq_qq ygqq_qq_all"><a href=""></a></li>
			               <li class="ygqq_wx ygqq_wx_all"><a href=""></a></li>
			               <li class="ygqq_wb"><a href=""></a></li>
			             </ul>
			          </div>
				</form>
			</div>
		</div>
	</body>
</html>
